/*
 * Copyright (C) 2015 yixun All Rights Reserved.
 * 
 * Company.java
 */
package com.yixun.qfbao.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

/**
 * [文件名称]<br>
 * Company.java<br>
 * <br>
 * [文件描述]<br>
 * 商户 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2015-12-10 14:36:24 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class Company implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *主键ID
	 */
	private Long id;
	/**
	 *创建人id
	 */
	private Long createUserId;
	/**
	 *外部公司系统编号
	 */
	private String externalNumber;
	/**
	 * 创建来源
	 */
	private String createOrigin;
	/**
	 *公司名称
	 */
	private String companyName;
	
	/**
	 * 公司缩写
	 */
	private String companyAbbreviation;
	/**
	 *组合授权:[{key:authorization_service,values:[{no:1,alias:jrfw,remark:金融服务},{no:2,alias:ysfy,remark:一手房源},{no:3,alias:ysfy,remark:海外房源}]}]
	 */
	private String authorization;
	/**
	 *组合授权展示
	 */
	private String authorizationName;
	/**
	 *创建时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 *修改时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**
	 *公司类型,对应系统参数表ID
	 */
	private Long companyType;
	/**
	 *公司类型名称
	 */
	private String companyTypeName;
	/**
	 *公司地址
	 */
	private String adress;
	/**
	 *收款人名称
	 */
	private String payee;
	/**
	 *银行卡号
	 */
	private String cardNumber;
	/**
	 *省份
	 */
	private Long province;
	/**
	 *省份名称
	 */
	private String provinceName;
	/**
	 *城市
	 */
	private Long city;
	/**
	 *城市名称
	 */
	private String cityName;
	/**
	 *本周分配次数
	 */
	private Integer weekCount;
	/**
	 *本月分配次数
	 */
	private Integer monthCount;
	/**
	 * M2商户号
	 */
	private String merchantCode;
	/**
	 * 域名
	 */
	private String domain;
	/**
	 * 是否需要佣金 1-是，0-否
	 */
	private String commissionFlag;
	/**
	 * 是否需要短信 1-是，0-否
	 */
	private String messageFlag;
	/**
	 * 审核状态：0待审核1审核失败2审核通过
	 */
	private String status;
	/**
	 * 公司代码
	 */
	private String companyCode;
	/**
	 * 负责人姓名
	 */
	private String chargeMan;
	/**
	 * 手机号码
	 */
	private String phone;
	/**
	 * 分销首页显示开关
	 * 0: 不显示首页,需优先登录
	 * 1: 不登陆显示首页
	 */
	private String agencyIndexSwitch;
	/**
	 * 分销首页显示开关
	 * 0: 关闭
	 * 1: V10
	 */
	private String outsideSwitch;
	/**
	 * 短信验真开关
	 * 0: 关闭
	 * 1: 开启
	 */
	private String checkSwitch;
	/**
	 * 短信验真模板
	 */
	private String checkTemp;
	/**
	 * 楼盘简介
	 */
	private String introduction;
	/*
	 * 微信appId
	 */
	private String appId;
	/**
	 * 微信appSecret
	 */
	private String appSecret;
	/**
	 * 是否删除 0-否，1-是
	 */
	private String delFlag;
	
	/**
	 * 公司uuid
	 */
	private String companyUuid;

	/**
	 * 可重复报备开关 0：否，1：是
	 */
	private String repeatReportSwitch;
    /**
     * 是否关联M2： 0-否；1-是
     */
	private String linkM2;

	/**
	 * 是否开通系统短信
	 */
	private String ifOpenSysMsg;

	
	private String enableWeappMsg;
	
	// 是否开启经纪人注册审核
	private String enablePartnerCheck;
	
	// 是否开启分销公司注册
	private String enableAgencyRegesit;
	
	/**  是否M2参与客户判重：0-否；1-是 */
	private String checkM2Repeat;
	
	/**
	 * 开发商公司 UUID
	 */
	private String devCompanyUuid;

	public String getCheckM2Repeat() {
		return checkM2Repeat;
	}

	public void setCheckM2Repeat(String checkM2Repeat) {
		this.checkM2Repeat = checkM2Repeat;
	}

	public String getIfOpenSysMsg() {
		return ifOpenSysMsg;
	}

	public void setIfOpenSysMsg(String ifOpenSysMsg) {
		this.ifOpenSysMsg = ifOpenSysMsg;
	}

	public String getLinkM2() {
        return linkM2;
    }

    public void setLinkM2(String linkM2) {
        this.linkM2 = linkM2;
    }

    public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCreateUserId() {
		return createUserId;
	}
	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}
	public String getExternalNumber() {
		return externalNumber;
	}
	public void setExternalNumber(String externalNumber) {
		this.externalNumber = externalNumber;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getAuthorization() {
		return authorization;
	}
	public void setAuthorization(String authorization) {
		this.authorization = authorization;
	}
	public String getAuthorizationName() {
		return authorizationName;
	}
	public void setAuthorizationName(String authorizationName) {
		this.authorizationName = authorizationName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Long getCompanyType() {
		return companyType;
	}
	public void setCompanyType(Long companyType) {
		this.companyType = companyType;
	}
	public String getCompanyTypeName() {
		return companyTypeName;
	}
	public void setCompanyTypeName(String companyTypeName) {
		this.companyTypeName = companyTypeName;
	}
	public String getAdress() {
		return adress;
	}
	public void setAdress(String adress) {
		this.adress = adress;
	}
	public String getPayee() {
		return payee;
	}
	public void setPayee(String payee) {
		this.payee = payee;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public Long getProvince() {
		return province;
	}
	public void setProvince(Long province) {
		this.province = province;
	}
	public String getProvinceName() {
		return provinceName;
	}
	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}
	public Long getCity() {
		return city;
	}
	public void setCity(Long city) {
		this.city = city;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public Integer getWeekCount() {
		return weekCount;
	}
	public void setWeekCount(Integer weekCount) {
		this.weekCount = weekCount;
	}
	public Integer getMonthCount() {
		return monthCount;
	}
	public void setMonthCount(Integer monthCount) {
		this.monthCount = monthCount;
	}
	public String getMerchantCode() {
		return merchantCode;
	}
	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getCommissionFlag() {
		return commissionFlag;
	}
	public void setCommissionFlag(String commissionFlag) {
		this.commissionFlag = commissionFlag;
	}
	public String getMessageFlag() {
		return messageFlag;
	}
	public void setMessageFlag(String messageFlag) {
		this.messageFlag = messageFlag;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getCompanyCode() {
		return companyCode;
	}
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	public String getChargeMan() {
		return chargeMan;
	}
	public void setChargeMan(String chargeMan) {
		this.chargeMan = chargeMan;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAgencyIndexSwitch() {
		return agencyIndexSwitch;
	}
	public void setAgencyIndexSwitch(String agencyIndexSwitch) {
		this.agencyIndexSwitch = agencyIndexSwitch;
	}
	public String getOutsideSwitch() {
		return outsideSwitch;
	}
	public void setOutsideSwitch(String outsideSwitch) {
		this.outsideSwitch = outsideSwitch;
	}

	public String getCheckSwitch() {
		return checkSwitch;
	}

	public void setCheckSwitch(String checkSwitch) {
		this.checkSwitch = checkSwitch;
	}

	public String getCheckTemp() {
		return checkTemp;
	}

	public void setCheckTemp(String checkTemp) {
		this.checkTemp = checkTemp;
	}

	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getAppSecret() {
		return appSecret;
	}
	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}
	public String getDelFlag() {
		return delFlag;
	}
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}
	public String getCompanyUuid() {
		return companyUuid;
	}
	public void setCompanyUuid(String companyUuid) {
		this.companyUuid = companyUuid;
	}

	public String getRepeatReportSwitch() {
		return repeatReportSwitch;
	}

	public void setRepeatReportSwitch(String repeatReportSwitch) {
		this.repeatReportSwitch = repeatReportSwitch;
	}

	public String getEnableWeappMsg() {
		return enableWeappMsg;
	}

	public void setEnableWeappMsg(String enableWeappMsg) {
		this.enableWeappMsg = enableWeappMsg;
	}

	public String getCompanyAbbreviation() {
		return companyAbbreviation;
	}

	public void setCompanyAbbreviation(String companyAbbreviation) {
		this.companyAbbreviation = companyAbbreviation;
	}

	public String getEnablePartnerCheck() {
		return enablePartnerCheck;
	}

	public void setEnablePartnerCheck(String enablePartnerCheck) {
		this.enablePartnerCheck = enablePartnerCheck;
	}

	public String getEnableAgencyRegesit() {
		return enableAgencyRegesit;
	}

	public void setEnableAgencyRegesit(String enableAgencyRegesit) {
		this.enableAgencyRegesit = enableAgencyRegesit;
	}

	public String getDevCompanyUuid() {
		return devCompanyUuid;
	}

	public void setDevCompanyUuid(String devCompanyUuid) {
		this.devCompanyUuid = devCompanyUuid;
	}

	public String getCreateOrigin() {
		return createOrigin;
	}

	public void setCreateOrigin(String createOrigin) {
		this.createOrigin = createOrigin;
	}
	
}